import org.apache.spark.rdd.RDD
import org.apache.spark.{SparkConf, SparkContext}

/**
  * Create by jenrey on 2018/5/14 20:20
  */
object TT {
  def main(args: Array[String]): Unit = {
    val conf: SparkConf = new SparkConf()
    conf.setMaster("local")
    conf.setAppName("TransformationOperator")
    val sc: SparkContext = new SparkContext(conf)
    val list: List[String] = List("张无忌","赵敏","周芷若")
    val rdd: RDD[String] = sc.parallelize(list)
    rdd.collect()
  }
}
